package com.pasabahceambalaj.session;

import com.pasabahceambalaj.entity.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("isemiretutList")
public class IsemiretutList extends EntityQuery<Isemiretut> {

	private static final String EJBQL = "select isemiretut from Isemiretut isemiretut";

	private static final String[] RESTRICTIONS = { "lower(isemiretut.islemno) like lower(concat(#{isemiretutList.isemiretut.islemno},'%'))", "lower(isemiretut.kalipeki) like lower(concat(#{isemiretutList.isemiretut.kalipeki},'%'))", "lower(isemiretut.tur) like lower(concat(#{isemiretutList.isemiretut.tur},'%'))", "lower(isemiretut.uruniciadet) like lower(concat(#{isemiretutList.isemiretut.uruniciadet},'%'))", };

	private Isemiretut isemiretut = new Isemiretut();

	public IsemiretutList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public Isemiretut getIsemiretut() {
		return isemiretut;
	}
}
